AweBooking\Availability\Request C

Total Complexity 110
Dependencies 15
Dependents 12
Total lines 768
Lines of code 304
Logical lines of code 145
Comment lines 340
Methods 51
Properties 7

Methods 51

Method Rating Maintainability Complexity Lines of code
validate_timespan()
A
48 12 31
initialize()
A
54 10 19
merge_parameters()
S
57 6 16
maybe_initialize_default()
S
59 4 15
set_children()
S
64 4 9
is_locked()
S
65 4 9
set_infants()
S
64 4 9
set_check_out()
S
69 3 6
validate()
S
64 3 9
set_adults()
S
67 3 7
set_check_in()
S
69 3 6
set_parameter()
S
70 3 6
get_children()
S
79 2 3
get_adults()
S
79 2 3
get_infants()
S
79 2 3
lock()
S
70 2 6
unlock()
S
75 2 4
set_hash()
S
67 2 7
get_hash()
S
80 2 3
set_hotel()
S
70 2 6
use_http_request()
S
72 2 6
display()
S
70 2 7
get()
S
68 2 7
add_contraints()
S
71 2 6
get_default_parameters()
S
60 1 14
__isset()
S
80 1 3
__get()
S
80 1 3
offsetUnset()
S
91 1 2
offsetGet()
S
80 1 3
offsetSet()
S
80 1 3
to_array()
S
81 1 3
same_with()
S
79 1 3
generate_hash()
S
72 1 5
offsetExists()
S
80 1 3
errors()
S
82 1 3
jsonSerialize()
S
81 1 3
create_from_request()
S
78 1 3
get_http_request()
S
82 1 3
get_guest_counts()
S
78 1 3
__construct()
S
68 1 7
get_timespan()
S
74 1 5
get_check_out()
S
80 1 3
get_check_in()
S
80 1 3
get_hotel()
S
80 1 3
get_los()
S
81 1 3
set_constraints()
S
77 1 4
get_constraints()
S
82 1 3
get_parameter()
S
80 1 3
get_parameters()
S
81 1 3
search()
S
80 1 3
__clone()
S
77 1 4